package com.tencent.sr.iris.activity.interfaces.request.acticity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;

/**
 * @author nixiaolin
 * @date 2023/2/16 9:55
 */
@Data
@ApiModel("uid邀请限额新增")
public class ActivityUidLimitAddRequest {

    @NotBlank(message = "父级key不能为空")
    @ApiModelProperty("父级key")
    private String parentKey;

    @NotBlank(message = "操作人uid不能为空")
    @ApiModelProperty("操作人uid")
    private String operatorUid;

    @NotBlank(message = "uid不能为空")
    @ApiModelProperty("uid")
    private String uid;

    @Range(min = 0, max = 100000, message = "个人限额范围为1到100000")
    @ApiModelProperty("个人限额")
    private Integer limit;
}
